package com.example.hfSystem.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.plugins.pagination.Pagination;
import com.example.hfSystem.entity.pojo.CancelOrder;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 取消订单表 Mapper 接口
 * </p>
 *
 * @author <a href="https://fengwenyi.com?fs=mpcg">Erwin Feng</a>
 * @since 2024-04-09
 */
@Mapper
public interface CancelOrderMapper extends BaseMapper<CancelOrder> {

    List<CancelOrder> selectListVO(@Param("ew") Wrapper<CancelOrder> wrapper);

    CancelOrder selectVO(@Param("ew") Wrapper<CancelOrder> wrapper);

    List<CancelOrder> selectListView(@Param("ew") Wrapper<CancelOrder> wrapper);

    List<CancelOrder> selectListView(Pagination page, @Param("ew") Wrapper<CancelOrder> wrapper);

    CancelOrder selectView(@Param("ew") Wrapper<CancelOrder> wrapper);

}
